/*
 * @Description  :
 * @Version      : 1.0
 * @Author       : Shiming
 * @Date         : 2022-01-06 09:24:00
 * @LastEditors  : Shiming
 * @LastEditTime : 2022-01-25 17:21:54
 * @FilePath     : \\tms-obc-web\\src\\app\\routes\\insurance-management\\interface-docking-routing.module.ts
 * Copyright (C) 2022 huzhenhong. All rights reserved.
 */
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import {interfaceDockingWaybillComponent} from './components/waybill/waybill.component';
import {settingVehicleEditComponent} from './components/set/edit.component';
import {confirReceiptComponent} from "./components/confir-receipt/confir-receipt.component";
import {billCodeDetailComponent} from "./components/bill-code-detail/bill-code-detail.component";
import {interfaceDockingLoadComponent} from "./components/load/load.component";
import {insuranceManagementListComponent} from "../insurance-management/components/list/list.component";


const routes: Routes = [
  { path: 'list', component: interfaceDockingWaybillComponent , data: { guard: { ability: ['INTERFACE-LIST-searsh'] } } },
  { path: 'list-set/:id', component: settingVehicleEditComponent },
  { path: 'list-confir-receipt/:id', component: confirReceiptComponent },
  { path: 'bill-code-detail', component: billCodeDetailComponent , data: { guard: { ability: ['INTERFACE-LIST-billDetailsSearch'] } } },
  { path: 'list-load', component: interfaceDockingLoadComponent , data: { guard: { ability: ['INTERFACE-LIST-LOAD-searsh'] } } },
]
@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class InterfaceDockingRoutingModule { }
